<div class="modal fade" id="modal_modify" style="padding-top: 150px" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    常量修改
                </h4>
            </div>
                <#if result??>
                <div class="modal-body">
                    <form id="form_modify" class="form-horizontal" role="form">
                        <div class="form-group hidden">
                            <label for="firstname" class="col-sm-2 control-label">ID</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="userId" name="id" value="${result.id?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">常量名</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="consName_modify" name="consName" placeholder="请输入常量名" value="${result.consName?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">常量标签</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="consLabel_modify" name="consLabel" placeholder="请输入常量标签" value="${result.consLabel?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">常量值</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="consValue_modify" name="consValue" placeholder="请输入常量值" value="${result.consValue?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">组名</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="groupName_modify" name="groupName" placeholder="请输入组名" value="${result.groupName?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">组标签</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="groupLabel_modify" name="groupLabel" placeholder="请输入组标签" value="${result.groupLabel?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">排序</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="sort_modify" name="sort" placeholder="请输入排序" value="${result.sort?default("")}">
                            </div>
                        </div>

                    </form>
                </div>
                </#if>
            <div class="modal-footer">

                <button type="button" id="modalCancel" onclick="function close() {
                                $('#modal_modify').modal('hide');
                            }" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" id="button_modify" onclick="modifyRecord()" class="btn btn-primary">
                    保存
                </button>
            </div>
        </div>
    </div><!-- /.modal-content -->
</div><!-- /.modal -->
